MediaReceiver

public interface MediaReceiver implements Observable<T>

A media receiver to which media content can be cast.

Usually, a media receiver is a device that supports the ChromeCast technology but in Chromium's logic it can be even a wired display (HDMI, DVI, or similar).

Since

7.29

Functions

Link copied to clipboard
public abstract String name()
Returns the name of the receiver.
Link copied to clipboard
public abstract Subscription on<E extends T>(Class<E> eventClass, Observer<E> observer)
Subscribes the given event observer to receive the events of the given eventClass.
Link copied to clipboard
public abstract Profile profile()
Returns the profile this receiver belongs to.
Link copied to clipboard
public abstract MediaReceiverState state()
Returns the current state of the receiver.
Link copied to clipboard
public abstract boolean supports(MediaSource mediaSource)
Returns true if the receiver supports casting of mediaSource.